package com.bookrecomm.crawler.entity;

import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 图书评论实体类
 */
@Data
public class Comment {
    private Long id;
    private String content;
    private BigDecimal rating;
    private Integer likes;
    private Integer status;
    private Long parentId;
    private Long userId;
    private Long bookId;
    private Date createdAt;
    private Date updatedAt;
    
    // 爬虫专用字段，用于存储评论者信息
    private String username;
    private String userAvatar;
}
